<?php
	$errors = $this->session->flashdata('errors');
	if(empty($errors) == false){
		echo "<div class='message-error'>";
		echo $errors[0]; // Only get the first error.
		echo "</div>";
	}
?>
